<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page import="com.boxin.ims.modules.wechat.entity.Product" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1.0, user-scalable=0">
<title>会员中心</title>
<link href="${ctxStatic }/site/themes/default/css/style.css" rel="stylesheet" type="text/css">
<script src="${ctxStatic }/site/themes/default/js/respond.min.js"></script>
<script src="${ctxStatic }/site/themes/default/js/jQuery.js"></script>

<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js" type="text/javascript"></script>
<script src="${ctxStatic}/site/themes/default/js/hideOptionMenu.js" type="text/javascript"></script>

</head>
<body>
<div id="sharemcover" onClick="document.getElementById(&#39;sharemcover&#39;).style.display=&#39;&#39;;" style=" display:none">
<img src="${ctxStatic }/site/themes/default/images/MgnnofmleM.png">
</div>
	<div><img src="${ctxStatic }/site/themes/default/images/mbg.jpg" width="100%"></div>
    
      <div class="wapdiv">
		  <div class="info">
		    <div class="photo">
	    		<c:if test="${member.headimgurl eq null}">
	    			<img src="${ctxStatic }/site/themes/default/images/headimgDefault.jpg" width="100%">
	    		</c:if>
	    		<c:if test="${member.headimgurl ne null}">
	    			<img src="${member.headimgurl}" width="70px" height="70px">
	    		</c:if>
	    	  </div>
		    <div class="name"><c:out value="${member.name}" default="${member.nickname}"></c:out></div>
		  </div>
		   <div class="list">
			    <ul>
			      <li>
			        <p>活动积分</p>
		          	<p class="f13">
		          		<c:if test="${member.activeScore eq null}">0</c:if>
		          		<c:if test="${member.activeScore ne null}">
		          			<c:if test="${member.activeScore eq 0}">0</c:if>
		          			<c:if test="${member.activeScore ne 0}">
				          		<fmt:formatNumber value="${member.activeScore/1000}" pattern="##.###"  minFractionDigits="3"/>
		          			</c:if>
		          		</c:if>
		          	</p>
			      </li>
			      <li>
			        <p>消费积分</p>
		          	<p class="f13">
		          		<c:if test="${member.consumeScore eq null}">0</c:if>
		          		<c:if test="${member.consumeScore ne null}">
		          			<c:if test="${member.consumeScore eq 0}">0</c:if>
		          			<c:if test="${member.consumeScore ne 0}">
				          		<fmt:formatNumber value="${member.consumeScore/1000}" pattern="##.###"  minFractionDigits="3"/>
		          			</c:if>
		          		</c:if>
		          	</p>
			      </li>
			      <li style="border:0;">
			        <p>信用积分</p>
		          	<p class="f13">
		          		<c:if test="${member.unusable eq null && member.creditScore eq null}">0</c:if>
		          		<c:if test="${member.unusable ne null || member.creditScore ne null}">
		          			<c:if test="${(member.creditScore+member.unusable) eq 0}">0</c:if>
		          			<c:if test="${(member.creditScore+member.unusable) ne 0}">
				          		<fmt:formatNumber value="${(member.creditScore+member.unusable)/1000}" pattern="##.###"  minFractionDigits="3"/>
		          			</c:if>
		          		</c:if>
		          	</p>
			      </li>
			    </ul>
			  </div>
			  <!-- <div class="zhuanqu">
			    <div class="duihuan">兑换专区<i class="ff_icon icon_left right"></i></div>
			    <div class="mendian">适用门店 <i class="ff_icon icon_left right"></i></div>
			  </div> -->
			  <div style="margin-top:20px; margin-bottom:10px;">
			    <button type="submit" class="anniu green" onClick="document.getElementById(&#39;sharemcover&#39;).style.display=&#39;block&#39;;">点击分享给朋友</button>  
			  </div>
			  <div style="min-height: 175px;"></div>

    <div class="jszch" style="margin-bottom: 10px;">技术支持：<a href="http://www.hdzhx.com/boxin/index.html" >智讯互联</a></div>     
</div>
</body>
</html>
